package com.pirestupppai.common;

import java.util.ArrayList;
import java.util.List;

/**
 * 常量
 *
 * @author: xiaoluo
 * @date: 2016-12-21 15:04
 */
public class Constant {
    public static int WIDTH_OF_SCREEN;  // 手机屏幕宽度
    public static int HEIGHT_OF_SCREEN;  // 手机屏幕高度
    public static int HEIGHT_OF_STATUSBAR; // 状态栏高度

    public static final String APP_NAME = "WeFun";
    public static boolean isDebugToast = true;  // 测试debug用,正式需设为false

    public static final int SELECT_TYPE_ASK = 100;       // 求P选择
    public static final int SELECT_TYPE_WORK = 110;      // 作品选择
    public static final int SELECT_TYPE_REVISE = 120;    // 修改头像选择
    public static final int SELETC_TYPE_VIDEO_ASK = 130; // 原视频
    public static final int SELETC_TYPE_VIDEO_WORK = 140;// 合奏视频

    public static final String TYPE_ASK = "ask";
    public static final String TYPE_REPLY = "reply";
    public static List<String> popularTags = new ArrayList<>();

    /**
     * 目录名称
     */
    public static final String DIR_AVATAR = "avatar"; // 头像的保存地址
    public static final String DIR_SAVED_IMAGE = "images"; // 素材保存地址
    public static final String DIR_UPLOAD = "upload"; // 图片上传保存地址
    public static final String DIR_VIDEO = "video"; // 视频上传保存地址


    // SharedPreferences key
    public interface SPKey {
        String DEVICE_TOKEN = "deviceToken";
        String IS_FIRST_RUN = "IsFirstRun";
        String IS_FIRST_VIDEO = "IsFirstVideo";
        String TOKEN = "token";
        String UID = "uid";
        String NICK_NAME = "nickname";
        String AVATAR_URL = "avatar";
        String SIGNATURE = "describe";
        String PHONE = "phone";
        String SEX = "sex";
        String BG_IMAGE = "bg_image";
        String FELLOW_COUNT = "fellow_count";
        String FAN_COUNT = "fans_count";
        String LIKE_COUNT = "uped_count";
        String ASK_COUNT= "ask_count";
        String REPLY_COUNT = "reply_count";
        String INPROGRESS_COUNT = "inprogress_count";
        String FOCUS_COUNT = "focus_count";
        String COLLECTION_COUNT = "collection_count";
        String CITY = "city";
        String IS_BIND_QQ = "is_bound_qq";
        String IS_BIND_WEIBO = "is_bound_weibo";
        String IS_BIND_WECHAT = "is_bound_weixin";
        String PROVINCE = "province";
        String HISTORY_SIZE = "HistorySize";
        String HISTORY_ITEM = "history_item_";
        String USER_NAME = "usernname";
        String EMAIL = "email";
        String FIRSTIMAGEEDITACTIVITY = "FirstImageEditActivity";
        String FIRSTIMAGEMATTINGACTIVITY = "FirstImageMattingActivity";
        String FIRSTIMAGEVIRTUALACTIVITY = "FirstImageVirtualActivity";
        String FIRSTIMAGECOPYACTIVITY = "FirstImageCopyActivity";
        String NOTIFICATION_COMMENT = "notification_comment";
        String NOTIFICATION_REPLY = "notification_reply";
        String NOTIFICATION_FOLLOW = "notification_follow";
        String NOTIFICATION_LIKE = "notification_like";
        String NOTIFICATION_SYSTEM = "notification_system";
        String UNREAD_COUNT = "unread_message_count";
        String TOTAL_REPLY_COUNT = "total_reply_count";
    }

    // Intent Key
    public interface IntentKey {
        String ID = "id";
        String PHONE = "phone";
        String UID = "uid";
        String COMMENT_ID = "commentId";
        String TARGET_ID = "targetId";
        String PHOTO_TYPE = "photoType";
        String WEBVIEW_URL = "targetUrl";
        String WEBVIEW_TITLE = "desc";
        String RELEASE_TYPE = "releaseType";
        String SELECT_LIST = "selectList";
        String PARENT_ID = "parentId";
        String PHOTO_ITEM = "photoItem";
        String FOLLOW_LIST_TYPE = "followListType";
        String SELECT_ITEM  = "selectItem";
        String STAGGERED_TYPE = "staggeredType";
        String TITLE = "title";
        String VIDEO_PATH = "videoPath";
        String VIDEO_PATH_TWO = "videoPathTwo";
        String AVATAR = "avatar";
        String TIME="time";
        String CONTENT = "content";
        String NICKNAME = "nickname";
        String VIDEO_IMG = "videoImg";
        String PS_TYPE = "psType";
        String IS_REPLY_NOW = "isReplyNow";
        String UPDATE_URL = "update_url";
    }
}
